package cn.wizzer.app.user.modules.models.constant;

import cn.wizzer.app.user.modules.models.enums.EquipmentEnum;

/**
 * @author 22099
 */
public class UserConstant {
    private static final String REDIS_KEY_TOKEN = "user:token:";
    public static String getRedisKeyToken(String appid, String token, EquipmentEnum equipment){
        return REDIS_KEY_TOKEN + appid + ":" + token + ":" + equipment;
    }
    public static String getSampleRedisKeyToken(String appid, EquipmentEnum equipment){
        return REDIS_KEY_TOKEN + appid + ":*:" + equipment;
    }
}
